package com.ckerchina.admin.ckadmin.domain.mgr;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.validation.constraints.NotNull;

import com.ckerchina.admin.ckadmin.domain.IdEntity.IdEntityAuto;

/**
 * MGR功能菜单
 */
@Entity
public class MgrMenu extends IdEntityAuto {
	private static final long serialVersionUID = -3173823104814342515L;

	/** 菜单名 */
	@Column(length = 20)
	@NotNull
	private String name;

	/** 菜单请求连接 */
	@NotNull
	@Column(length = 200)
	private String url;

	/** 图标 */
	@Column(length = 50)
	private String iconCls;

	/** 序列号 */
	@NotNull
	private Integer sortNo;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getIconCls() {
		return iconCls;
	}

	public void setIconCls(String iconCls) {
		this.iconCls = iconCls;
	}

	public Integer getSortNo() {
		return sortNo;
	}

	public void setSortNo(Integer sortNo) {
		this.sortNo = sortNo;
	}

}
